package rai.util;
/**
 * Class contains Constants.
 * @author Tien
 *
 */
public class Constants {
    public static String JDBD_DRIVER = "jdbcDriver"; //
    public static String JDBD_URL = "jdbcUrl";
    public static String JDBD_USER = "jdbcUser";
    public static String JDBD_PASS = "jdbcPassword";

    public static String BLANK_VALUE = "";

    public static String LOGIN_ACTION = "login";
    public static String REGISTER_ACTION = "register";
    public static String BACK_TO_LOGIN_FORM_ACTION = "back_to_login_form";
    public static String ACCESS_TO_REGISTER_FORM_ACTION = "access_to_register_form";
    public static String ACCESS_TO_SEARCH_FORM_ACTION = "access_to_search_form";
    public static String BACK_TO_EMP_INFO_ACTION_1 = "back_to_empInfo_form_1";
    public static String BACK_TO_EMP_INFO_ACTION_2 = "back_to_empInfo_form_2";
    public static String ACCESS_TO_EDIT_INFO_FORM_ACTION = "access_to_edit_info_form";
    public static String UPDATE_EMP_INFO_ACTION = "update_emp_info";
    public static String EDIT_TAKEN_PRJ_ACTION = "access_to_edit_prj_info_form";
    public static String UPDATE_TAKEN_PRJ_ACTION = "update_taken_prj_info";
    public static String ACCESS_TO_EDIT_EXP_FORM = "access_to_edit_exp_form";
    public static String ACCESS_TO_EDIT_TKN_COURSE_FORM = "access_to_edit_tkn_course";
    public static String UPDATE_TAKEN_COURSE_ACTION = "update_taken_course_info";
    public static String UPDATE_EXP_ACTION = "update_exp_info";
    public static String RELOAD_SEARCH_ACTION = "reload_Search";
    public static String DEL_EMP_EXP_ACTION = "delete_emp_exp";
    public static String DEL_EMP_COURSE_ACTION = "delete_emp_course";
    public static String DEL_EMP_PRJ_ACTION = "delete_emp_prj";
    public static String ADD_EMP_EXP_ACTION = "access_add_emp_exp";
    public static String ADD_EMP_COURSE_ACTION = "access_add_emp_course";
    public static String ADD_EMP_PRJ_ACTION = "access_add_emp_prj";
    public static String ADD_NEW_EMP_EXP_ACTION = "add_emp_exp";
    public static String ADD_NEW_EMP_COURSE_ACTION = "add_emp_course";
    public static String ADD_NEW_EMP_PRJ_ACTION = "add_emp_prj";
    public static String GOTO_COURSE_INFO = "goto_course_info";
    public static String GOTO_PRJ_INFO = "goto_project_info";
    public static String ADD_NEW_PRJ_ADMIN = "do_add_prj";
    public static String ADD_NEW_COURSE_ADMIN = "do_add_course";
    public static String ADD_NEW_DEPT_ADMIN = "do_add_dept";
    public static String ADD_NEW_COMP_ADMIN = "do_add_comp";
    public static String EXPORT_ALL = "export_all";
    public static String ACCESS_EDIT_PROFILE = "edit_profile";
    public static String EDIT_PROFILE_ACTION = "do_edit_profile";
    public static String ACCESS_ADD_ACC = "access_add_acc";
    public static String DEL_ACC = "del_acc";
    public static String EDIT_ACC = "edit_acc";
    public static String RESET_PASS = "reset_pass";
    public static String ACCESS_EDIT_ACC = "access_edit_acc";
    public static String BACK_TO_MAN_ACC = "back_to_manacc";
    
    public static String REGISTER_VIEW_PATH = "/WEB-INF/jsp/Register.jsp";
    public static String EMP_INFO_VIEW_PATH = "/WEB-INF/jsp/EmployeeInfo.jsp";
    public static String WELCOME_VIEW_PATH = "/WEB-INF/jsp/Welcome.jsp";
    public static String SEARCH_INFO_PATH = "/WEB-INF/jsp/SearchInfo.jsp";
    public static String LOGIN_VIEW_PATH = "/WEB-INF/jsp/PITSPortlet_view.jsp";
    public static String EDIT_INFO_PATH = "/WEB-INF/jsp/EditPersonalInfo.jsp";
    public static String EDIT_TAKEN_PRJ_PATH = "/WEB-INF/jsp/EditTakenProjectInfo.jsp";
    public static String EDIT_TAKEN_COURSE_PATH = "/WEB-INF/jsp/EditTakenCourseInfo.jsp";
    public static String EDIT_EXP_PATH = "/WEB-INF/jsp/EditExperienceInfo.jsp";
    public static String ADD_NEW_TAKEN_PRJ_PATH = "/WEB-INF/jsp/AddTakenProjectInfo.jsp";
    public static String ADD_NEW_TAKEN_COURSE_PATH = "/WEB-INF/jsp/AddTakenCourseInfo.jsp";
    public static String ADD_NEW_EXP_PATH = "/WEB-INF/jsp/AddTakenExpInfo.jsp";
    public static String VIEW_PRJ_INFO = "/WEB-INF/jsp/PMViewProjectInfo.jsp";
    public static String VIEW_COURSE_INFO = "/WEB-INF/jsp/PMViewCourseInfo.jsp";
    public static String EDIT_PROFILE_PATH = "/WEB-INF/jsp/EditProfile.jsp";
    public static String ADMIN_MAN_ACC_PATH = "/WEB-INF/jsp/AdminManageAccount.jsp";
    public static String ADMIN_ADD_ACC_PATH = "/WEB-INF/jsp/AdminAddAccInfo.jsp";
    public static String ADMIN_EDIT_ACC_PATH = "/WEB-INF/jsp/AdminEditAccInfo.jsp";
    public static String UNDEFINED_PATH = "/WEB-INF/jsp/UndefinedAcc.jsp";
    
    public static String ID_PORT_SESS_ATT = "ID";
    public static String NAME_PORT_SESS_ATT = "name";
    public static String PASS_PORT_SESS_ATT = "pass";
    public static String ROLE_PORT_SESS_ATT = "role";
    public static String ERR_MESS_PORT_SESS_ATT = "errorMess";
    public static String SUC_MESS_PORT_SESS_ATT = "succMess";
    public static String EMP_NAME_PORT_SESS_ATT = "Name";
    public static String BIRTHDAY_PORT_SESS_ATT = "birthday";
    public static String ADDRESS_PORT_SESS_ATT = "address";
    public static String EMAIL_PORT_SESS_ATT = "email";
    public static String PHONE_PORT_SESS_ATT = "phone";
}
